package com.base.common.edu.entity;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.HashSet;
import java.util.Set;

/**
 * @Author Maple.Chen
 * @Description 教材定义实体
 * @Date 16:15 2021/1/29
 **/
@Data
@ApiModel(description = "教材定义实体")
@JsonIgnoreProperties(value = {"handler"})
public class TextBook implements Serializable {

    private static final long serialVersionUID = 7658976283483411337L;
    @ApiModelProperty( value = "教材记录ID：ISBN")
    private String textBookId;
    @ApiModelProperty( value = "教材名称")
    private String textBookName;
    @ApiModelProperty( value = "教材著者")
    private String textBookAuthor;
    @ApiModelProperty( value = "教材定价")
    private BigDecimal purchasePrice;
    @ApiModelProperty( value = "对应在授课程映射集合")
    private Set<ValidCourse> validCourses = new HashSet<ValidCourse>();

}
